package com.ruoyi.tsjData.domain.plat;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.ruoyi.common.convert.ArrayToJsonDeserializer;
import com.ruoyi.tsjData.domain.pad.TshjZhdlOneDataDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 提升机-制动力测试对象 data_tshj_zhdl
 * 
 * @author ruoyi
 * @date 2023-10-25
 */
@ApiModel(value = "提升机-制动力测试对象")
public class DataTshjZhdl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 制动力测试ID */
    private Long zhdlId;

    /** 测试任务ID */
    @Excel(name = "测试任务ID")
    private Long dataTaskId;

    /** 数据ID */
    @ApiModelProperty(value = "数据ID")
    private Long id;

    /** 任务ID */
    @Excel(name = "任务ID")
    @ApiModelProperty(value = "任务ID")
    private Long taskId;

    /** 最大制动力 */
    @Excel(name = "最大制动力")
    @ApiModelProperty(value = "最大制动力")
    private String zhdlMax;

    /** 制动半径 */
    @Excel(name = "制动半径")
    @ApiModelProperty(value = "制动半径")
    private String zhdbj;

    /** 制动力矩 */
    @Excel(name = "制动力矩")
    @ApiModelProperty(value = "制动力矩")
    private String zhdlj;

    /** 旋转力矩 */
    @Excel(name = "旋转力矩")
    @ApiModelProperty(value = "旋转力矩")
    private String xzhlj;

    /** k值 */
    @Excel(name = "k值")
    @ApiModelProperty(value = "k值")
    private String zhdlK;

    /** JSON-制动力List */
    @Excel(name = "JSON-制动力List")
    @ApiModelProperty(value = "制动力List")
    @JsonDeserialize(using = ArrayToJsonDeserializer.class)
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String zhdlList;

    /** 保存时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "保存时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "保存时间")
    private Date saveTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

//    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private List<TshjZhdlOneDataDto> tshjZhdlOneDataDtoList = new ArrayList<>();

    public void setZhdlId(Long zhdlId) 
    {
        this.zhdlId = zhdlId;
    }

    public Long getZhdlId() 
    {
        return zhdlId;
    }
    public void setDataTaskId(Long dataTaskId) 
    {
        this.dataTaskId = dataTaskId;
    }

    public Long getDataTaskId() 
    {
        return dataTaskId;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setZhdlMax(String zhdlMax) 
    {
        this.zhdlMax = zhdlMax;
    }

    public String getZhdlMax() 
    {
        return zhdlMax;
    }
    public void setZhdbj(String zhdbj) 
    {
        this.zhdbj = zhdbj;
    }

    public String getZhdbj() 
    {
        return zhdbj;
    }
    public void setZhdlj(String zhdlj) 
    {
        this.zhdlj = zhdlj;
    }

    public String getZhdlj() 
    {
        return zhdlj;
    }
    public void setXzhlj(String xzhlj) 
    {
        this.xzhlj = xzhlj;
    }

    public String getXzhlj() 
    {
        return xzhlj;
    }
    public void setZhdlK(String zhdlK) 
    {
        this.zhdlK = zhdlK;
    }

    public String getZhdlK() 
    {
        return zhdlK;
    }
    public void setZhdlList(String zhdlList) 
    {
        this.zhdlList = zhdlList;
    }

    public String getZhdlList() 
    {
        return zhdlList;
    }
    public void setSaveTime(Date saveTime) 
    {
        this.saveTime = saveTime;
    }

    public Date getSaveTime() 
    {
        return saveTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public List<TshjZhdlOneDataDto> getTshjZhdlOneDataDtoList() {
        return tshjZhdlOneDataDtoList;
    }

    public void setTshjZhdlOneDataDtoList(List<TshjZhdlOneDataDto> tshjZhdlOneDataDtoList) {
        this.tshjZhdlOneDataDtoList = tshjZhdlOneDataDtoList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("zhdlId", getZhdlId())
            .append("dataTaskId", getDataTaskId())
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("zhdlMax", getZhdlMax())
            .append("zhdbj", getZhdbj())
            .append("zhdlj", getZhdlj())
            .append("xzhlj", getXzhlj())
            .append("zhdlK", getZhdlK())
            .append("zhdlList", getZhdlList())
            .append("saveTime", getSaveTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
